home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ansi / nocurcur.zip / NOCURCUR.MSG < prev   
Internet Message Format  |  1987-11-24  |  1KB

  1. From: ucbvax!ucdavis!caldwr!zat (Tholow Ziegler)
  2. Newsgroups: comp.sys.ibm.pc
  3. Subject: CURSOR - OFF/ON
  4. Date: 22 Nov 87 22:05:04 GMT
  5.  
  6. Here are two routines that I have used on a IBM-CGA system. Make
  7. an ASCII file for each then run them through DEBUG, then use
  8. the output .COM files
  9.  
  10. The first one turns off the cursor - call it NOCUR.TXT
  11. ---------------------------
  12. a 100
  13. mov  ah,1
  14. mov  ch,20
  15. int  10
  16. int  20
  17.  
  18. r cx
  19. 8
  20. n nocur.com
  21. w
  22. q
  23. --------------------------------
  24. The blank line after 'int 20' is necessary.
  25. do DEBUG < NOCUR.TXT  then use NOCUR.COM
  26.  
  27. The second will restore the cursor - call it CUR.TXT
  28. ---------------------------------
  29. a 100
  30. mov  ah,10
  31. int  10
  32. cmp  al,7
  33. jz   10d
  34. mov  cx,607
  35. jmp  110
  36. mov  cx,0b0c
  37. mov  ah,1
  38. int  10
  39. int  20
  40.  
  41. r cx
  42. 16
  43. n cur.com
  44. w
  45. q
  46. -----------------------------
  47. Again the blank line after 'int 20' is necessary.
  48. do DEBUG < CUR.TXT   then use CUR.COM
  49.  
  50.  
  51.  
  52.            Tholow A. Ziegler             ||         a.k.a.  ZAT,the
  53. California Department of Water Resources ||   caldwr!zat@ucdavis.edu (Internet)
  54.      "Conserve Water - Dilute it..."     || !ucbvax!ucdavis!caldwr!zat (UUCP)
  55.